var GameOver = function()
{
	this.img = new Image();
	this.img.src = "Images/GameOver.jpg";
	
	this.img_av = new Array();
	
	this.img_av[0] = new Image();
	this.img_av[0].src = "Images/Avance_1.png";
	
	this.img_av[1] = new Image();
	this.img_av[1].src = "Images/Avance_2.png";

	this.update = function()
	{
		windows.num[0] = 0;
		windows.num[1] = 0;
		windows.num[2] = 0;
		windows.num[3] = 0;
		windows.num[4] = 0;
		windows.num[5] = 0;
		
		player.go.x = 385;
		player.go.y = 0;
		
		player.KeyLeft = false;
		player.KeyRight = false;
		player.KeyUp = false;
		player.KeyDown = false;
		player.Space = false;
	}
	
	this.draw = function()
	{
		graphics.DrawImage(this.img, 0, 0);
		graphics.DrawImage(this.img_av[sceneManager.av_g], 720, 544);
	}
}